<template>
	<view>
		<view style="width: calc(100% - 48rpx);height: calc(100% - 48rpx);padding: 24rpx;font-size: 28rpx;line-height: 48rpx;">
			<rich-text :nodes="text"></rich-text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '',
				text: '',
			}
		},

		onLoad(opts) {
			this.text = uni.getStorageSync('rich_text')
			// console.log('this.text = ', this.text);
			uni.setNavigationBarTitle({ title: `${opts.title}` })
		},

		mounted() {

		},

		methods: {

		}
	}
</script>

<style>

</style>